<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<html>
    <head>
        <title>Canvas Admin - Login</title>
        <meta charset="utf-8" />
        <meta name="description" content="" />
        <meta name="author" content="" />		
        <meta name="viewport" content="width=device-width,initial-scale=1" />
        <link rel="stylesheet" href="resources/stylesheets/resett.css" type="text/css" media="screen" title="no title" />
        <link rel="stylesheet" href="resources/stylesheets/text.css" type="text/css" media="screen" title="no title" />
        <link rel="stylesheet" href="resources/stylesheets/buttons.css" type="text/css" media="screen" title="no title" />
        <link rel="stylesheet" href="resources/stylesheets/theme-default.css" type="text/css" media="screen" title="no title" />
        <link rel="stylesheet" href="resources/stylesheets/login.css" type="text/css" media="screen" title="no title" />
    </head>
    <body>
        <form name="loginForm" action="<%=request.getContextPath()%>/j_spring_security_check" method="POST">
            <div id="login">
                <h1>Dashboard</h1>
                <div id="login_panel">
                    <form action="dashboarddf.html" method="post" accept-charset="utf-8">	
                        <%
                            if ("false".equals(request.getParameter("auth"))) {
                                out.print("Login or/and Password are incorrect, please try again");
                            }
                        %>
                        <div class="login_fields">
                            <div class="field">
                                <label for="email">Email</label>
                                <input  type="text" name="j_username" id="login_username" value="admin" />		
                            </div>

                            <div class="field">
                                <label for="password">Password <small><a href="javascript:;">Forgot Password?</a></small></label>
                                <input  type="password" name="j_password" id="login_password" value="admin" placeholder="password" />			
                            </div>
                        </div> <!-- .login_fields -->

                        <div class="login_actions">
                            <button  type="submit" id="login_0" value="Log In" class="btn btn-primary" tabindex="3">Login</button>
                        </div>
                    </form>
                </div> <!-- #login_panel -->		
            </div> <!-- #login -->
        </form>
    </body>
</html>